
package DataAcess;


/*
 * Class ID	: SE715
 * Student ID	: 02967
 * Student Name : Vu Ngoc Trung
 * Due Date     : Jul 24, 2013
 * I declare that this assignment is my own work in accordance with FPT Policy.
 */
public class Place {
    private String type;
    private String name;
    private String busPassing;

    public Place(String type, String name, String busPassing) {
        this.type = type;
        this.name = name;
        this.busPassing = busPassing;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getBusPassing() {
        return busPassing;
    }

    public void setBusPassing(String busPassing) {
        this.busPassing = busPassing;
    }
    
    @Override
    public String toString(){
        return type+" "+name+" "+busPassing;
    }
    
}
